package cn.qzuie.smart.module.dorm.controller.admin.buildings.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 栋 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BuildingsRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9161")
    @ExcelProperty("id")
    private Integer id;

    @Schema(description = "楼栋名", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("楼栋名")
    private String buildingName;

    @Schema(description = "昵称", example = "李四")
    @ExcelProperty("昵称")
    private String nickName;

    @Schema(description = "校区名称：校本部1；文创园2；科创园3", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("校区名称：校本部1；文创园2；科创园3")
    private Integer campus;

    @Schema(description = "总楼层", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("总楼层")
    private Integer totalFloors;

    @Schema(description = "总房间数")
    @ExcelProperty("总房间数")
    private Integer totalRooms;

    @Schema(description = "楼管")
    @ExcelProperty("楼管")
    private Long charger;

    @Schema(description = "建造日期")
    @ExcelProperty("建造日期")
    private LocalDate buildDate;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
